package tut.designParttern.design.template;

public class TestTemplate {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		AutomotiveRobot automotiveRobot = new AutomotiveRobot("Automotive Robot");
		CookieRobot cookieRobot = new CookieRobot("Cookie Robot");

		System.out.println(automotiveRobot.getName());
		automotiveRobot.go();

		System.out.println("-----------------");
		System.out.println(cookieRobot.getName());
		cookieRobot.go();

	}

}
